/*
 * POJO for holding the tables from a query with its alias 
 */

package com.querie.pojo;

/**
 *
 * @author a-skoshy
 */
public class Table {
    private String tableID;
    private String tableName;
    private String alias;

    public Table(String id, String name, String alias){
        this.tableID = id;
        this.tableName = name;
        this.alias = alias;
    }

    public String getTableID() {
        return tableID;
    }

    public String getTableName() {
        return tableName;
    }

    public String getAlias() {
        return alias;
    }

    public String toString(){
        return "Table:" + tableID + "|" + tableName + "|" + alias + "\n";
    }
}
